package lsp.connector;

import java.io.Closeable;

import lsp.base.LspPacket;
import lsp.base.Pack;

public interface IConnector extends Closeable {

	public boolean isConnected();
	public short getConnectionId();
	public void setConnectionId(short connId);
	
	public LspPacket getCurrentLspPacket();
	void sendPacket(LspPacket lspPacket);
	
	public void addReceivedExternalPack(Pack pack);
	public Pack popReceivedExternalPack();
	
	public void addReceivedLspPacket(LspPacket lspPacket);
	public LspPacket popReceivedLspPacket();
	
}
